Vectorising a sum of scalar multiplied by a matrix where the scaler is an element of a list